package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;
import java.math.BigDecimal;

import java.time.LocalDateTime;

@Data
public class User {
    private int userid;
    private String realname;
    @JsonProperty
    private String phonenumber;
    private LocalDateTime registrationdate;
    @JsonIgnore
    private String password;
    private Double accountbalance;
    @JsonProperty
    private String address;
    private int userstatus;
    private int usertype;

    private String avatar;

    private String email;

}
